home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Help-files / Changes to OzTeX 2.0 < prev    next >
Text File  |  1996-08-16  |  9KB  |  184 lines

  1. Changes to OzTeX 2.0
  2. ====================
  3.  
  4. • The pk_folders parameter has been replaced by a new one called pk_files.
  5.   Instead of a list of folders, pk_files has a list of PK file templates.
  6.   The new Default config file contains the same templates used by OzDVIPS:
  7.  
  8.     pk_files = %f.%dpk :PK-files:%f.%dpk :PK-files:%d:%f.%dpk
  9.  
  10.   These templates tell OzTeX how to search for a PK file after doing the
  11.   following substitutions:
  12.  
  13.     %f is replaced by the desired font name (eg. cmr10)
  14.     %d is replaced by the desired font size (eg. 360)
  15.     %b is replaced by the base resolution (eg. 300)
  16.     %m is replaced by the mode (eg. laserwriter)
  17.     %% is replaced by "%" (in case you want "%" in a folder name)
  18.  
  19.   Apart from being consistent with OzDVIPS, this scheme is more flexible,
  20.   especially if you want to keep PK files created by different modes in
  21.   separate folders (eg. :PK-files:%m:%d:%f.%dpk).
  22.  
  23.   The above templates correspond with how OzTeX used to locate PK files.
  24.   (Well, almost.  The template ":PK-files:%d:%f" has not been included
  25.   because I don't recommend using PK files without any "pk" extension.)
  26.  
  27. • A new parameter called dvips_options is used when "Use DVIPS" is ticked.
  28.   The given string automatically appears in the extra options box in the
  29.   DVIPS dialog.  The Default config sets dvips_options to an empty string,
  30.   but the new Linotronic config file changes it to "-P linohi" and the
  31.   600 dpi Printer config file changes it to "-P 600dpi".
  32.  
  33. • All VF files in the VF-files folder have been rebuilt to remove redundant
  34.   "MOVERIGHT R 0.0" commands.  Along with some extremely small differences
  35.   in TFM/VF character widths, they caused OzTeX's Fix VFs item to slow down
  36.   dramatically and create very large DVI files.  I've changed Fix VFs to
  37.   prevent this happening.
  38.  
  39. • Fixed a bug in the handling of the standard_prolog file (the Default config
  40.   sets this to :PS-files:OzTeXdict.pro).  OzTeX 2.0 looked for this file in
  41.   the current folder first and then in the ps_folders list.  It was just luck
  42.   that most users never noticed a problem because OzTeX was able to open
  43.   :PS-files::PS-files:OzTeXdict.pro.  The standard_prolog file is now located
  44.   exactly like the dvi_to_ps_prolog file.  Note that the old method of using
  45.   a local version of OzTeXdict.pro in the current folder will no longer work.
  46.   I suspect nobody used this trick, but if you want to do something similar
  47.   then you'll have to switch to a config file that changes standard_prolog.
  48.  
  49. • OzTeX no longer checks for printer errors at the end of a print job if
  50.   "Use Standard PostScript" is ticked.  This is because some people reported
  51.   "Printer error: -50" warnings even though the file printed ok.  It only
  52.   seemed to occur if background printing and file sharing were enabled.
  53.  
  54. • A number of bugs in DVIDVI have been fixed:
  55.   
  56.   The -n option now works as expected.  For example, -f4 -n3 will select
  57.   pages 4, 5 and 6; and -r -n3 will select the last three pages.
  58.   
  59.   \special commands with very long arguments (for example, raw PostScript
  60.   code targeted at dvips) are now correctly copied to the output file.
  61.   
  62.   The \special{landscape} command used by dvips is now processed correctly.
  63.  
  64. • Fixed a nasty bug due to my compiler's rounding routine (only 68000 code).
  65.   Fortunately it had no effect on TeX's typesetting.  In fact, the only
  66.   reported problem was the occasional mistake when calculating the size of
  67.   a PK file.  For example, if you asked for "\font\xxx=cmtt8 scaled 875"
  68.   then OzTeX would look for cmtt8.262pk rather than cmtt8.263pk (assuming
  69.   a viewing_resolution of 300, the size = 0.875 * 300 = 262.5, which should
  70.   round up to 263).  This would then stuff up MakeTeXPK when it tried to
  71.   make the missing PK file.
  72.  
  73. • After loading a config file, OzTeX now checks that the printing/viewing
  74.   resolution is correct for the common Metafont modes: ie. imagewriter = 144,
  75.   laserwriter = 300, stylewriter = 360, ljfour = 600 and linohi = 1270.
  76.   This should prevent the most likely cause of MakeTeXPK failing to make
  77.   missing PK fonts.
  78.  
  79. • Added the June 1996 release of LaTeX (thanks to Andy Fyfe).
  80.   Not much has changed since the previous release; see ltnews05.tex in
  81.   the :TeX-inputs:LaTeX: folder.
  82.  
  83. • Added the latest version plain.tex to :TeX-inputs:Plain: and rebuilt all
  84.   format files.
  85.  
  86. OzMF changes
  87. ------------
  88.  
  89. • The pk_folder parameter has been replaced by pk_file.  Instead of a folder,
  90.   pk_file specifies a template for the PK files created by MakeTeXPK.
  91.   The new Default config file contains a template compatible with the
  92.   previous version of MakeTeXPK:
  93.  
  94.     pk_file = :PK-files:%f.%dpk
  95.  
  96.   MakeTeXPK will do the same substitutions as done by OzTeX and OzDVIPS for
  97.   their pk_files parameter (see above).
  98.  
  99.   If you supply a template like ":PK-files:%d:%f.%dpk" then OzMF will create
  100.   any missing sub-folders that occur as a result of substituting "%d" by
  101.   previously unknown font sizes.  Ditto for a template containing "%m".
  102.  
  103.   WARNING:  The pk_file template must match one of the templates used by
  104.   OzTeX/OzDVIPS so that they can find PK files created by MakeTeXPK!
  105.  
  106. • The "No PK Folder" config file is now called "Make Local PK".  It simply
  107.   sets pk_file to "%f.%dpk".
  108.  
  109. • MakeTeXPK will now keep processing if errors occur.  All error messages
  110.   are appended to a MakeTeXPK.log file in the same folder as the .make file.
  111.   This is handy when building lots of PK fonts; a minor Metafont error will
  112.   no longer stop the entire process.
  113.  
  114. • The buffers used in MakeTeXPK for passing data to Metafont have been
  115.   increased to avoid truncating long command lines.  This could occur when
  116.   using a very long mode_def name like VarityperFourThreeZeroZeroHi.
  117.  
  118. • A new auto_quit flag parameter is used by MakeTeXPK.  If true then OzMF
  119.   quits after all lines in a .make file have been successfully processed.
  120.  
  121. • Some internal parameters used by TFtoPL/PLtoTF/VFtoVP/VPtoVF have been
  122.   increased to cope with a large amount of ligature/kern data.
  123.  
  124. • You can now drag .tfm/.pl/.vf/.vpl files to the OzMF icon and the files
  125.   will be processed by TFtoPL/PLtoTF/VFtoVP/VPtoVF respectively.
  126.  
  127. • If many GF files are dragged to the OzMF icon then all the files will now
  128.   be processed by GFtoPK without pausing if OzMF is sent to the background.
  129.  
  130. • Added the latest versions of modes.mf and plain.mf to :Metafont:Inputs:
  131.   and rebuilt all base files.
  132.  
  133. OzDVIPS changes
  134. ---------------
  135.  
  136. • OzDVIPS has been modified to correctly handle DVI files created by OzTeX's
  137.   Fix VFs code (or any other implementation of DVIcopy).  In the past it was
  138.   possible to see what looked like very bad kerning if dvips was given a DVI
  139.   file that had been created by DVIcopy.
  140.  
  141.   [For those who want the technical details: DVIcopy includes a minor
  142.   extension to the Knuth-recommended method for rounding pixels.  In certain
  143.   situations it will add invisible rules with a special negative height into
  144.   the new DVI file.  OzTeX's DVI-reading code knows about this extension,
  145.   so when it sees such a rule it does horizontal rounding in the manner
  146.   required by DVIcopy.  But OzDVIPS didn't know about the extension and so
  147.   it rounded differently.  That has now been fixed.  DVIcopy has been the
  148.   cause of too much angst, so I will eventually remove Fix VFs from OzTeX
  149.   and handle virtual fonts in the same way that OzDVIPS does.]
  150.  
  151. • Fixed a bug in OzDVIPS that could prevent a non-resident PostScript font
  152.   (LWFN file) from being included in the output.  This only happened if a
  153.   psfonts.map line had multiple "<" entries and the LWFN file was not the
  154.   first such entry (eg. <8r.enc <CMR10).  While fixing this bug I also
  155.   noticed that dvips 5.58 does not generate correct comments if the first
  156.   "<" entry is not a downloaded font.  For example, if psfonts.map has
  157.   
  158.     tfmname fontname ... <8r.enc <foo.pfa
  159.   
  160.   then dvips would create a .ps file containing:
  161.   
  162.     %%BeginFont: fontname
  163.     <contents of 8r.enc>
  164.     %%EndFont
  165.     %%BeginProcSet: foo.pfa
  166.     <contents of foo.pfa>
  167.     %%EndProcSet
  168.   
  169.   While this won't normally cause any problems, it might confuse programs
  170.   that read .ps files looking for %%BeginFont comments, so OzDVIPS has been
  171.   modified to check for .enc/.pfa/.pfb extensions and make sure that the
  172.   correct comments are generated.
  173.  
  174. • Created config.600dpi in :DVIPS:Inputs: so that OzTeX's 600 dpi Printer
  175.   config file can set dvips_options to "-P 600dpi" (see above).
  176.  
  177. • Added a new config file parameter called bypass_dialog.  If set to true
  178.   then the dialog box for setting dvips options does not appear and the
  179.   other dialog parameter settings are used.
  180.  
  181. • Another new config file parameter is called auto_quit.  If true then
  182.   OzDVIPS automatically quits after a successful dvips run (after send_ps
  183.   and delete_ps have been obeyed).
  184.